require 'rubygems'
require 'chronic'
require 'rufus/scheduler'

scheduler = Rufus::Scheduler.start_new(:thread_name => 'sfmonitor daemon')
scheduler.every '15m' do
  Poller.poll
end
scheduler.every '1d', :starting_at => Chronic.parse("tomorrow at 24:00:00") do
  TwitterPost.post_to_twitter
end
